//
//  ADImage.m
//  NiuBanGold
//
//  Created by Billy on 15/12/8.
//  Copyright © 2015年 zzjr. All rights reserved.
//

#import "ADImage.h"

@implementation ADImage

- (instancetype)initWithAttributes:(NSDictionary *)attributesDic  {
    
    self = [super init];
    
    if (self) {
        
        self.adImage_id = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"imageIndex"]];
        
        self.adImage_imageURLString  = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"imageUrl"]];
        
        self.adImage_refURL = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"refUrl"]];
        
        self.adImage_title = [NSString stringWithFormat:@"%@",[attributesDic objectForKey:@"title"]];
    }
    
    return self;
}

@end
